Last updated: 2022-04-14

Checks: 6 1

Knit directory: mapme.protectedareas/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20210305) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 645e497. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .RData
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  Rplot.pdf

Unstaged changes:
    Modified:   analysis/analysis_00_checkdata.Rmd
    Modified:   analysis/analysis_01_matching.Rmd
    Modified:   analysis/analysis_02_createpanel.Rmd
    Modified:   analysis/analysis_03_descriptives.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/analysis_00_checkdata.Rmd) and HTML (docs/analysis_00_checkdata.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 645e497 Yota Eilers 2022-04-04 New files, including new plots, tables and data source
html 645e497 Yota Eilers 2022-04-04 New files, including new plots, tables and data source
Rmd d599d3a Yota Eilers 2022-03-28 check other years
Rmd c23d9fc Yota Eilers 2022-03-28 updates with new data
html c23d9fc Yota Eilers 2022-03-28 updates with new data
Rmd 1fafc8d Yota Eilers 2022-03-28 rmd file for data integrity checks
html 1fafc8d Yota Eilers 2022-03-28 rmd file for data integrity checks

Plot NA percentages (treatment group)

Plot NA percentages (control group)

Map: Cells with missing data

Please note that this map only displays treatment cells (and thus only treated cells that have missing values).

Map with treated polygons

Check if there are wrongly assigned treatment cells in the matching frames (the map displays polygons and treatment of a single year).


sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.6 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
 [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
 [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
[10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] plotly_4.9.3          stargazer_5.2.2       RColorBrewer_1.1-2   
 [4] htmltools_0.5.2       scales_1.1.1          ggsci_2.9            
 [7] leaflet.extras2_1.1.0 leaflet.extras_1.0.0  leaflet_2.0.4.1      
[10] sf_1.0-7              forcats_0.5.1         stringr_1.4.0        
[13] dplyr_1.0.8           purrr_0.3.4           readr_2.1.2          
[16] tidyr_1.2.0           tibble_3.1.6          ggplot2_3.3.4        
[19] tidyverse_1.3.1      

loaded via a namespace (and not attached):
 [1] fs_1.5.0                bit64_4.0.5             lubridate_1.7.10       
 [4] httr_1.4.2              rprojroot_2.0.2         tools_3.6.3            
 [7] backports_1.2.1         bslib_0.2.5.1           utf8_1.2.2             
[10] R6_2.5.1                KernSmooth_2.23-20      DBI_1.1.2              
[13] lazyeval_0.2.2          colorspace_2.0-1        withr_2.4.2            
[16] tidyselect_1.1.2        bit_4.0.4               compiler_3.6.3         
[19] git2r_0.28.0            cli_3.2.0               rvest_1.0.2            
[22] xml2_1.3.3              labeling_0.4.2          sass_0.4.0             
[25] classInt_0.4-3          proxy_0.4-26            digest_0.6.29          
[28] rmarkdown_2.11          pkgconfig_2.0.3         dbplyr_2.1.1           
[31] fastmap_1.1.0           htmlwidgets_1.5.3       rlang_1.0.2            
[34] readxl_1.3.1            rstudioapi_0.13         jquerylib_0.1.4        
[37] generics_0.1.2          farver_2.1.0            jsonlite_1.8.0         
[40] vroom_1.5.7             crosstalk_1.1.1         magrittr_2.0.3         
[43] Rcpp_1.0.8.3            munsell_0.5.0           fansi_1.0.3            
[46] lifecycle_1.0.1         stringi_1.7.6           whisker_0.4            
[49] yaml_2.2.1              grid_3.6.3              parallel_3.6.3         
[52] promises_1.2.0.1        crayon_1.5.1            haven_2.3.1            
[55] hms_1.1.1               knitr_1.34              pillar_1.7.0           
[58] reprex_2.0.0            glue_1.6.2              evaluate_0.14          
[61] leaflet.providers_1.9.0 data.table_1.14.2       modelr_0.1.8           
[64] vctrs_0.4.0             tzdb_0.1.2              httpuv_1.6.1           
[67] cellranger_1.1.0        gtable_0.3.0            assertthat_0.2.1       
[70] xfun_0.24               broom_0.7.6             e1071_1.7-9            
[73] later_1.2.0             class_7.3-20            viridisLite_0.4.0      
[76] workflowr_1.7.0         units_0.8-0             ellipsis_0.3.2